package com.scau.service;

import com.scau.exception.FileUtilException;
import com.scau.pojo.Brand;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface IBrandService {

    public List<Brand> getBrands(String username);

    public Brand getBrand(String id);

    public void addBrand(Brand brand, MultipartFile logo)throws IOException;

    public void deleteBrand(String id) throws FileUtilException;

    public void updateBrand(Brand brand, MultipartFile logo) throws IOException;

}
